from sqlalchemy import Column, Integer, String, DateTime, DOUBLE
from SqlalchemyConfig import Base

class EmergencyVo(Base):
    __tablename__ = 'dr_emrgemcy_info_list'

    id = Column(Integer, primary_key=True)
    emergency_id = Column(String)
    code = Column(String(30))
    headline = Column(String(50))
    effective = Column(DateTime)
    description = Column(String)
    longitude = Column(DOUBLE)
    latitude = Column(DOUBLE)
    type = Column(String(30))
    title = Column(String(50))
    creat_time = Column(DateTime)
    update_time = Column(DateTime)